<style>
.page {
    text-align: right;margin-top: 10px
}
.layout{
    background: #f5f7f9;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}
.demo-spin-icon-load{
    animation: ani-demo-spin 1s linear infinite;
}
.demo-spin-col{
    height: 100px;
    position: relative;
}
.mb20 {
    margin-bottom: 20px;
}
.layout-logo{
    width: 110px;
    height: 30px;
    background: #5b6270;
    border-radius: 3px;
    float: left;
    position: relative;
    top: 0px;
    left: 0px;
}
.layout-nav{
    width: 420px;
    margin: 0 auto;
    margin-right: 20px;
}
.layout-footer-center{
    text-align: center;
}
.content{
    height: auto;
    background-color:white;
    padding-left: 30px;
    padding-right: 30px;
}
.items{
    height:40px;
    line-height:40px
}
.info{
    height: auto;
    background-color:#F8F8FF;
    padding-left: 70px;
    padding-right: 70px;
}
.header{
    height: 40px;
    background-color: white;
    line-height: 40px;
    border-bottom: 1px solid orangered;
}
.info-middle{
    height: 300px;
    background-color: #F8F8FF;
    padding-left: 70px;
    padding-right: 70px;
    padding-bottom: 15px;
}
.titles{
    height: 35px;
    background-color: black;
    line-height: 35px;
    font-size: 1rem;
    color: white;
    padding-left: 10px;
}
.nopadding .ivu-table-cell {
    padding: 0px 0px;
}
.head_btn {
    height:45px;
    line-height:45px;
    width: 130px;
    float: left;
    margin-right: 20px;
}
.subsidy-img {
    height: 140px;
    width: 120px;
    position: absolute;
    right: 8%;
    top: 11%;
}
.red_color {
    color: red;
    font-size: 15px;
}
.centerimg {
    text-align: center;
}
.pre_img_style {
    height:500px;
    width:auto;
    max-width: 500px;
}
</style>
<template>
<div>
<Tabs value="name1" @on-click="changeTab" v-model="tab_index">
    <TabPane :label="'全部'" name="">
        <span style="margin-left: 20px">申请人：</span> <Input v-model="searchDate.name" placeholder="" style="width: 200px" />
        <span style="margin-left: 20px">业务编号：</span><Input v-model="searchDate.code" placeholder="" style="width: 200px" />
        <span style="margin-left: 20px">申请时间：</span>
        <DatePicker v-model="dateTime" type="daterange" placement="bottom-end" placeholder="" style="width: 200px"></DatePicker>
        <Button type="primary" style="margin-left: 20px" @click="all('search')"><Icon type="ios-search" />搜索</Button>
        <Button type="primary" style="margin-left: 10px" @click="clearData()"><Icon type="ios-backspace-outline" />清空</Button>
        <div style="margin-top: 20px">
            <Table border :columns="columns1" :data="data6">
                <template slot-scope="{ row }" slot="check_state">
                    <strong v-if="row.check_state == '1'" style="color: red">已超时</strong>
                    <strong v-else>未超时</strong>
                </template>
                <template slot-scope="{ row }" slot="action">
                    <Button type="info" size="small" style="margin-right:6px" @click="findinfo(row)">查看详情</Button>
                    <Button type="success" size="small" @click="applyStop(row)">停发详情</Button>
                </template>
            </Table>
        </div>
        <div class="page">
            <Page :total="totalnum" :current="currentPageNo" :page-size="currentPageSize" @on-change="change" class="page_style" />
        </div>
    </TabPane>
    <TabPane :label="'街道待审核'" name="7">
        <span style="margin-left: 20px">申请人：</span> <Input v-model="searchDate.name" placeholder="" style="width: 200px" />
        <span style="margin-left: 20px">业务编号：</span><Input v-model="searchDate.code" placeholder="" style="width: 200px" />
        <span style="margin-left: 20px">申请时间：</span>
        <DatePicker type="daterange" v-model="dateTime" placement="bottom-end" placeholder="" style="width: 200px"></DatePicker>
        <Button type="primary" style="margin-left: 20px" @click="all()"><Icon type="ios-search" />搜索</Button>
        <Button type="primary" style="margin-left: 10px" @click="clearData()"><Icon type="ios-backspace-outline" />清空</Button>
        <div style="margin-top: 20px">
            <Table border :columns="columns1" :data="data6">
                <template slot-scope="{ row }" slot="check_state">
                    <strong v-if="row.check_state == '1'" style="color: red">已超时</strong>
                    <strong v-else>未超时</strong>
                </template>
                <template slot-scope="{ row }" slot="action">
                    <Button type="info" size="small" style="margin-right:6px" @click="findinfo(row)">查看详情</Button>
                    <Button type="success" size="small" @click="applyStop(row)">停发详情</Button>
                </template>
            </Table>
        </div>
        <div class="page">
            <Page :total="totalnum" :current="currentPageNo" :page-size="currentPageSize" @on-change="change" class="page_style" />
        </div>
    </TabPane>
    <TabPane :label="'街道已通过'" name="1">
        <span style="margin-left: 20px">申请人：</span> <Input v-model="searchDate.name" placeholder="" style="width: 200px" />
        <span style="margin-left: 20px">业务编号：</span><Input v-model="searchDate.code" placeholder="" style="width: 200px" />
        <span style="margin-left: 20px">申请时间：</span>
        <DatePicker type="daterange" v-model="dateTime" placement="bottom-end" placeholder="" style="width: 200px"></DatePicker>
        <Button type="primary" style="margin-left: 20px" @click="all()"><Icon type="ios-search" />搜索</Button>
        <Button type="primary" style="margin-left: 10px" @click="clearData()"><Icon type="ios-backspace-outline" />清空</Button>
        <div style="margin-top: 20px">
            <Table border :columns="columns1" :data="data6">
                <template slot-scope="{ row }" slot="check_state">
                    <strong v-if="row.check_state == '1'" style="color: red">已超时</strong>
                    <strong v-else>未超时</strong>
                </template>
                <template slot-scope="{ row }" slot="action">
                    <Button type="info" size="small" style="margin-right:6px" @click="findinfo(row)">查看详情</Button>
                    <Button type="success" size="small" @click="applyStop(row)">停发详情</Button>
                </template>
            </Table>
        </div>
        <div class="page">
            <Page :total="totalnum" :current="currentPageNo" :page-size="currentPageSize" @on-change="change" class="page_style" />
        </div>
    </TabPane>
    <TabPane :label="'街道已驳回'" name="2">
        <span style="margin-left: 20px">申请人：</span> <Input v-model="searchDate.name" placeholder="" style="width: 200px" />
        <span style="margin-left: 20px">业务编号：</span><Input v-model="searchDate.code" placeholder="" style="width: 200px" />
        <span style="margin-left: 20px">申请时间：</span>
        <DatePicker type="daterange" v-model="dateTime" placement="bottom-end" placeholder="" style="width: 200px"></DatePicker>
        <Button type="primary" style="margin-left: 20px" @click="all()"><Icon type="ios-search" />搜索</Button>
        <Button type="primary" style="margin-left: 10px" @click="clearData()"><Icon type="ios-backspace-outline" />清空</Button>
        <div style="margin-top: 20px">
            <Table border :columns="columns1" :data="data6">
                <template slot-scope="{ row }" slot="check_state">
                    <strong v-if="row.check_state == '1'" style="color: red">已超时</strong>
                    <strong v-else>未超时</strong>
                </template>
                <template slot-scope="{ row }" slot="action">
                    <Button type="info" size="small" style="margin-right:6px" @click="findinfo(row)">查看详情</Button>
                    <Button type="success" size="small" @click="applyStop(row)">停发详情</Button>
                </template>
            </Table>
        </div>
        <div class="page">
            <Page :total="totalnum" :current="currentPageNo" :page-size="currentPageSize" @on-change="change" class="page_style" />
        </div>
    </TabPane>
    <TabPane :label="'残联已通过'" name="3">
        <span style="margin-left: 20px">申请人：</span> <Input v-model="searchDate.name" placeholder="" style="width: 200px" />
        <span style="margin-left: 20px">业务编号：</span><Input v-model="searchDate.code" placeholder="" style="width: 200px" />
        <span style="margin-left: 20px">申请时间：</span>
        <DatePicker type="daterange" v-model="dateTime" placement="bottom-end" placeholder="" style="width: 200px"></DatePicker>
        <Button type="primary" style="margin-left: 20px" @click="all()"><Icon type="ios-search" />搜索</Button>
        <Button type="primary" style="margin-left: 10px" @click="clearData()"><Icon type="ios-backspace-outline" />清空</Button>
        <div style="margin-top: 20px">
            <Table border :columns="columns1" :data="data6">
                <template slot-scope="{ row }" slot="check_state">
                    <strong v-if="row.check_state == '1'" style="color: red">已超时</strong>
                    <strong v-else>未超时</strong>
                </template>
                <template slot-scope="{ row }" slot="action">
                    <Button type="info" size="small" style="margin-right:6px" @click="findinfo(row)">查看详情</Button>
                    <Button type="success" size="small" @click="applyStop(row)">停发详情</Button>
                </template>
            </Table>
        </div>
        <div class="page">
            <Page :total="totalnum" :current="currentPageNo" :page-size="currentPageSize" @on-change="change" class="page_style" />
        </div>
    </TabPane>
    <TabPane :label="'残联已驳回'" name="4">
        <span style="margin-left: 20px">申请人：</span> <Input v-model="searchDate.name" placeholder="" style="width: 200px" />
        <span style="margin-left: 20px">业务编号：</span><Input v-model="searchDate.code" placeholder="" style="width: 200px" />
        <span style="margin-left: 20px">申请时间：</span>
        <DatePicker type="daterange" v-model="dateTime" placement="bottom-end" placeholder="" style="width: 200px"></DatePicker>
        <Button type="primary" style="margin-left: 20px" @click="all()"><Icon type="ios-search" />搜索</Button>
        <Button type="primary" style="margin-left: 10px" @click="clearData()"><Icon type="ios-backspace-outline" />清空</Button>
        <div style="margin-top: 20px">
            <Table border :columns="columns1" :data="data6">
                <template slot-scope="{ row }" slot="check_state">
                    <strong v-if="row.check_state == '1'" style="color: red">已超时</strong>
                    <strong v-else>未超时</strong>
                </template>
                <template slot-scope="{ row }" slot="action">
                    <Button type="info" size="small" style="margin-right:6px" @click="findinfo(row)">查看详情</Button>
                    <Button type="success" size="small" @click="applyStop(row)">停发详情</Button>
                </template>
            </Table>
        </div>
        <div class="page">
            <Page :total="totalnum" :current="currentPageNo" :page-size="currentPageSize" @on-change="change" class="page_style" />
        </div>
    </TabPane>
    <TabPane :label="'民政已通过'" name="5">
        <span style="margin-left: 20px">申请人：</span> <Input v-model="searchDate.name" placeholder="" style="width: 200px" />
        <span style="margin-left: 20px">业务编号：</span><Input v-model="searchDate.code" placeholder="" style="width: 200px" />
        <span style="margin-left: 20px">申请时间：</span>
        <DatePicker type="daterange" v-model="dateTime" placement="bottom-end" placeholder="" style="width: 200px"></DatePicker>
        <Button type="primary" style="margin-left: 20px" @click="all()"><Icon type="ios-search" />搜索</Button>
        <Button type="primary" style="margin-left: 10px" @click="clearData()"><Icon type="ios-backspace-outline" />清空</Button>
        <div style="margin-top: 20px">
            <Table border :columns="columns1" :data="data6">
                <template slot-scope="{ row }" slot="check_state">
                    <strong v-if="row.check_state == '1'" style="color: red">已超时</strong>
                    <strong v-else>未超时</strong>
                </template>
                <template slot-scope="{ row }" slot="action">
                    <Button type="info" size="small" style="margin-right:6px" @click="findinfo(row)">查看详情</Button>
                    <Button type="success" size="small" @click="applyStop(row)">停发详情</Button>
                </template>
            </Table>
        </div>
        <div class="page">
            <Page :total="totalnum" :current="currentPageNo" :page-size="currentPageSize" @on-change="change" class="page_style" />
        </div>
    </TabPane>
    <TabPane :label="'民政已驳回'" name="6">
        <span style="margin-left: 20px">申请人：</span> <Input v-model="searchDate.name" placeholder="" style="width: 200px" />
        <span style="margin-left: 20px">业务编号：</span><Input v-model="searchDate.code" placeholder="" style="width: 200px" />
        <span style="margin-left: 20px">申请时间：</span>
        <DatePicker type="daterange" v-model="dateTime" placement="bottom-end" placeholder="" style="width: 200px"></DatePicker>
        <Button type="primary" style="margin-left: 20px" @click="all()"><Icon type="ios-search" />搜索</Button>
        <Button type="primary" style="margin-left: 10px" @click="clearData()"><Icon type="ios-backspace-outline" />清空</Button>
        <div style="margin-top: 20px">
            <Table border :columns="columns1" :data="data6">
                <template slot-scope="{ row }" slot="check_state">
                    <strong v-if="row.check_state == '1'" style="color: red">已超时</strong>
                    <strong v-else>未超时</strong>
                </template>
                <template slot-scope="{ row }" slot="action">
                    <Button type="info" size="small" style="margin-right:6px" @click="findinfo(row)">查看详情</Button>
                    <Button type="success" size="small" @click="applyStop(row)">停发详情</Button>
                </template>
            </Table>
        </div>
        <div class="page">
            <Page :total="totalnum" :current="currentPageNo" :page-size="currentPageSize" @on-change="change" class="page_style" />
        </div>
    </TabPane>
</Tabs>
<Modal v-model="show1" title="详细信息" @on-ok="ok1()" @on-cancel="show1===false" width="800">
    <Form label-position="right" :label-width="100" style="position: relative;">
        <Row class="mb20">
            <Col span="17" class="ivu-form-item-label" style="font-size: 20px">辽宁省残疾人两项补贴情况表</Col>
        </Row>
        <Row class="mb20">
            <Col span="6" class="ivu-form-item-label">姓名：</Col>
            <Col span="4" class="ivu-form-item-content"><Input v-model="mainmap.name" style="width: 150px"></Input></Col>
            <Col span="5" class="ivu-form-item-label">性别：</Col>
            <Col span="4" class="ivu-form-item-content"><Input v-model="mainmap.sex" style="width: 150px"></Input></Col>
        </Row>
        <Row class="mb20">
            <Col span="6" class="ivu-form-item-label">身份证号码：</Col>
            <Col span="4"><Input v-model="mainmap.cardno" style="width: 150px" /></Col>
            <Col span="5" class="ivu-form-item-label">残疾证号码：</Col>
            <Col span="4"><Input v-model="mainmap.disability_certificate_number" style="width: 150px" /></Col>
        </Row>
        <Row class="mb20">
            <Col span="6" class="ivu-form-item-label">残疾类别：</Col>
            <Col span="4"><Input v-model="mainmap.disability_type" style="width: 150px" /></Col>
            <Col span="5" class="ivu-form-item-label">残疾等级：</Col>
            <Col span="4"><Input v-model="mainmap.disability_grade" style="width: 150px" /></Col>
        </Row>
        <Row class="mb20">
            <Col span="6" class="ivu-form-item-label">户籍性质：</Col>
            <Col span="4"><Input v-model="mainmap.household" style="width: 150px" /></Col>
            <Col span="5" class="ivu-form-item-label">户籍地址：</Col>
            <Col span="4"><Input v-model="mainmap.homeaddress" style="width: 150px" /></Col>
        </Row>
        <Row class="mb20">
            <Col span="6" class="ivu-form-item-label">残疾人电话：</Col>
            <Col span="4"><Input v-model="mainmap.disablility_phone" style="width: 150px" /></Col>
            <Col span="5" class="ivu-form-item-label">家庭住址：</Col>
            <Col span="4"><Input v-model="mainmap.homeaddress" style="width: 150px" /></Col>
        </Row>
        <Row class="mb20">
            <Col span="6" class="ivu-form-item-label">联系人：</Col>
            <Col span="4"><Input v-model="mainmap.name" style="width: 150px" /></Col>
            <Col span="5" class="ivu-form-item-label">联系人电话：</Col>
            <Col span="4"><Input v-model="mainmap.link_phone" style="width: 150px" /></Col>
        </Row>
        <Row class="mb20">
            <Col span="6" class="ivu-form-item-label">补贴对象类型：</Col>
            <Col span="4"><Input v-model="usermap.subsidy_person_type" style="width: 150px" /></Col>
            <Col span="5" class="ivu-form-item-label">补贴类型：</Col>
            <Col span="4"><Input v-model="usermap.subsidy_type" style="width: 150px" /></Col>
        </Row>
        <Row class="mb20">
            <Col span="6" class="ivu-form-item-label">补贴金额：</Col>
            <Col span="4"><Input v-model="usermap.subsidy_money" style="width: 150px" /></Col>
            <Col span="5" class="ivu-form-item-label">发放起始月份：</Col>
            <Col span="4"><Input v-model="usermap.grant_start_time" style="width: 150px" /></Col>
        </Row>
        <Row class="mb20">
            <Col span="6" class="ivu-form-item-label">开户银行：</Col>
            <Col span="4"><Input v-model="usermap.bank_name" style="width: 150px" /></Col>
            <Col span="5" class="ivu-form-item-label">银行卡号：</Col>
            <Col span="4"><Input v-model="usermap.bank_num" style="width: 150px" /></Col>
        </Row>
        <Row class="mb20">
            <Col span="6" class="ivu-form-item-label">所属县区：</Col>
            <Col span="4"><Input v-model="usermap.county" style="width: 150px" /></Col>
            <Col span="5" class="ivu-form-item-label">所属乡镇：</Col>
            <Col span="4"><Input v-model="usermap.township" style="width: 150px" /></Col>
        </Row>
    </Form>
</Modal>
<Modal v-model="modal1" title="详情" width="600" @on-cancel="modal1===false">
    <Form label-position="right" :label-width="100">
        <Row class="mb20">
            <Col span="8" class="ivu-form-item-label">发放截止月份：</Col>
            <Col span="9" class="ivu-form-item-content" style="width: 288px; ">
            <Input v-model="formDate.stop_month" placeholder="" disabled />
            </Col>
        </Row>
        <Row class="mb20">
            <Col span="8" class="ivu-form-item-label">停发原因：</Col>
            <Col span="9" class="ivu-form-item-content" style="width: 288px; ">
            <Input v-model="formDate.reason" placeholder="" disabled />
            </Col>
        </Row>
        <Row class="mb20">
            <Col span="8" class="ivu-form-item-label">备注：</Col>
            <Col span="9" class="ivu-form-item-content" style="width: 288px; ">
            <Input v-model="formDate.remark" type="textarea" placeholder="" disabled />
            </Col>
        </Row>
    </Form>
    <div slot="footer">
        <Button type="success" :loading="modal_loading" v-if="order_state == '7'" @click="pass">通过</Button>
        <Button type="error" :loading="modal_loading" v-if="order_state == '7'" @click="reject">驳回</Button>
        <Button :loading="modal_loading" @click="modal1=false">关闭</Button>
    </div>
</Modal>
</div>
</template>

<script>
import { date2str, findAllStopUserRecordList, getUserInfo, updateStreetStopPass, updateStreetStopReject } from '@/api/stree'
// import { findRegisterInfo, findOrphanByCard } from '@/libs/util'
export default {
  data () {
    return {
      currentPageNo: 1,
      currentPageSize: 10,
      totalnum: 0,
      num: 0,
      dateTime: '',
      modal_loading: false,
      tab_index: 0,
      searchDate: {
        name: '',
        code: '',
        start_time: '',
        end_time: ''
      },
      show1: false,
      modal1: false,
      order_state: '',
      columns1: [{
        title: '序号',
        type: 'index',
        width: 80,
        align: 'center'
      },
      {
        title: '事项名称',
        key: 'stop_title',
        align: 'center',
        width: 230,
        render: (h, params) => {
          return h('span', this.formatTitle(params.row.stop_title))
        }
      },
      {
        title: '业务编号',
        key: 'code',
        align: 'center',
        width: 180
      },
      {
        title: '申请人',
        key: 'stop_name',
        align: 'center',
        width: 100
      },

      {
        title: '身份证号',
        key: 'stop_cardno',
        align: 'center',
        width: 180
      },
      {
        title: '申请时间',
        key: 'create_time',
        align: 'center',
        width: 120
      },
      {
        title: '街道审核时间',
        key: 'sereet_time',
        align: 'center',
        width: 120
      },
      {
        title: '残联审核时间',
        key: 'dpf_time',
        align: 'center',
        width: 120
      },
      {
        title: '民政审核时间',
        key: 'cab_time',
        align: 'center',
        width: 120
      },
      {
        title: '截止月份',
        key: 'stop_month',
        align: 'center',
        width: 140
      },
      {
        title: '状态',
        key: 'status',
        align: 'center',
        width: 140,
        render: (h, params) => {
          return h('span', this.formatStatus(params.row.status))
        }
      },
      {
        title: '操作',
        slot: 'action',
        width: 200,
        align: 'center',
        fixed: 'right'
      }
      ],
      data6: [],
      formDate: {},
      mainmap: {},
      usermap: {},
      errorTitle: '错误提醒'
    }
  },
  methods: {
    init () {
      let param = {
        pageSize: this.currentPageSize,
        pageNo: this.currentPageNo,
        subsidy_type: ''
      }
      findAllStopUserRecordList(param).then(ret => {
        if (ret.data.errcode === 0) {
          this.data6 = ret.data.data.results
          this.totalnum = ret.data.data.totalRecord
        } else {
          this.$Modal.error({
            title: '错误',
            content: ret.data.errmsg
          })
        }
      })
    },
    findinfo (param) { // 查看详情
      console.log(param, 'param')
      this.show1 = true
      getUserInfo({
        'cardno': param.stop_cardno,
        'subsidy_type': param.subsidy_type
      }).then(ret => {
        if (ret.data.errcode === 0) {
          this.mainmap = ret.data.data.mainmap
          this.usermap = ret.data.data.usermap
        } else {
          this.$Modal.error({
            title: '错误',
            content: ret.data.errmsg
          })
        }
      })
    },
    change (pageNo) {
      this.currentPageNo = pageNo
      this.init()
    },
    clearData () {
      this.searchDate = {}
      this.dateTime = ''
      this.all(this.tab_index)
    },
    formatStatus (val) {
      return val === '7' ? '街道待审核' : val === '1' ? '街道已通过' : val === '2' ? '街道已驳回' : val === '3' ? '残联已通过' : val === '4' ? '残联已驳回' : val === '5' ? '区(县)民政局已通过' : val === '6' ? '民政局已驳回' : ''
    },
    // 低保对象过滤
    formatTitle (val) {
      return val === '护理补贴' ? '重度残疾人护理补贴' : val === '生活补贴' ? '困难残疾人生活补贴' : ''
    },
    // 切换tab页
    changeTab (name) {
      this.currentPageNo = 1
      this.currentPageSize = 10
      this.searchDate = {}
      this.all(this.tab_index)
    },
    all (state) {
      this.searchDate.start_time = date2str(this.dateTime[0])
      this.searchDate.end_time = date2str(this.dateTime[1])
      let data5 = {}
      if (state === 'search') {
        data5 = {
          pageSize: this.currentPageSize,
          pageNo: 1,
          name: this.searchDate.name,
          code: this.searchDate.code,
          create_time_start: this.searchDate.start_time,
          create_time_end: this.searchDate.end_time,
          status: ''
        }
      } else {
        data5 = {
          pageSize: this.currentPageSize,
          pageNo: this.currentPageNo,
          name: this.searchDate.name,
          code: this.searchDate.code,
          create_time_start: this.searchDate.start_time,
          create_time_end: this.searchDate.end_time,
          status: this.tab_index
        }
      }
      findAllStopUserRecordList(data5).then(ret => {
        if (ret.data.errcode === 0) {
          this.data6 = ret.data.data.results
          this.totalnum = ret.data.data.totalRecord
        } else {
          this.$Modal.error({
            title: '错误',
            content: ret.data.errmsg
          })
        }
      })
    },
    applyStop (param) {
      this.modal1 = true
      this.formDate = param
      this.order_state = param.status
      this.num = this.tab_index
    },
    pass () {
      if (confirm('确定通过吗')) {
        updateStreetStopPass(this.formDate).then(ret => {
          if (ret.data.errcode === 0) {
            this.modal1 = false
            this.$Notice.success({ title: '通过成功', desc: '' })
            this.all(this.tab_index)
            return
          }
          this.$Notice.error({
            title: '通过失败',
            desc: ret.data.errmsg
          })
        })
      }
    },
    reject () {
      this.formDate.state = 0
      this.formDate.stop_month = ''
      if (confirm('确定驳回吗')) {
        updateStreetStopReject(this.formDate).then(ret => {
          if (ret.data.errcode === 0) {
            this.modal1 = false
            this.$Notice.success({ title: '驳回成功', desc: '' })
            this.all(this.tab_index)
            return
          }
          this.$Notice.error({
            title: '驳回失败',
            desc: ret.data.errmsg
          })
        })
      }
    }
  },
  mounted () {
    this.init()
  }
}
</script>
